/**
* C Rush OS
* 60-330 Final Assignment
* Submitted by:
*	Joseph Greaves
*	Benjamin Iannetta
*	Paul Wolak
*	
* CI:
*	this class defines a basic Command Interface for
*	intiation of a simulation.
*/

//imports
import java.util.*;
import java.util.Scanner;

public class CI{
	//instance variables
	public static String prompt="CRush:~/>";
	public String command;
	public int num_processes = 0;
	public Scanner input=new Scanner(System.in);
	public int execFlag;
	public boolean flag=false;

	public int interpreter() {	
			System.out.print(prompt);
			command=input.next();
			flag=true;
			
			num_processes = Integer.parseInt(command);
			//execFlag = executeCommand(command);
			return 0;	
	}

	public int executeCommand(String command){
		return 0;	
	}
}
